<?php defined('IN_ADMIN') or exit('No permission resources.'); ?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8"/>
<title><?php echo L('admin_site_title')?></title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta content="" name="description"/>
<meta content="" name="author"/>
<!-- BEGIN GLOBAL MANDATORY STYLES -->
<!--
<link href="http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700&subset=all" rel="stylesheet" type="text/css"/>
-->
<link href="<?php echo CSS_PATH?>metronic/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo CSS_PATH?>metronic/simple-line-icons/simple-line-icons.min.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo CSS_PATH?>metronic/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

<link href="<?php echo CSS_PATH?>metronic/bootstrap-switch/css/bootstrap-switch.min.css" rel="stylesheet" type="text/css"/>
<!-- END GLOBAL MANDATORY STYLES -->
<!-- BEGIN THEME STYLES -->
<link href="<?php echo CSS_PATH?>metronic/components.css" id="style_components" rel="stylesheet" type="text/css"/>
<link href="<?php echo CSS_PATH?>metronic/plugins.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo CSS_PATH?>metronic/layout.css" rel="stylesheet" type="text/css"/>
<link id="style_color" href="<?php echo CSS_PATH?>metronic/darkblue.css" rel="stylesheet" type="text/css"/>
<link href="<?php echo CSS_PATH?>metronic/custom.css" rel="stylesheet" type="text/css"/>
<!-- END THEME STYLES -->
<link href="<?php echo CSS_PATH?>reset.css" rel="stylesheet" type="text/css" />
<link href="<?php echo CSS_PATH.SYS_STYLE;?>-system.css" rel="stylesheet" type="text/css" />
<link href="<?php echo CSS_PATH?>dialog.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>dialog.js"></script>
<link rel="shortcut icon" href="favicon.ico"/>
<script type="text/javascript">
var pc_hash = '<?php echo $_SESSION['pc_hash']?>'
</script>
</head>
<body class="page-header-fixed page-quick-sidebar-over-content ">
<!-- BEGIN HEADER -->
<div class="page-header navbar navbar-fixed-top">
	<!-- BEGIN HEADER INNER -->
	<div class="page-header-inner">
		<!-- BEGIN LOGO -->

		<div class="page-logo">
			<a href="#">
			<img src="<?php echo IMG_PATH?>logo.png" alt="logo" class="logo-default"/>
			<h style="color: white;font-size: 24px;position: relative;top: 15px;">骨伤科数据库</h>
			</a>
			<div class="menu-toggler sidebar-toggler hide">
				<!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->
			</div>
		</div>
		<!-- END LOGO -->
		<!-- BEGIN RESPONSIVE MENU TOGGLER -->
		<a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">
		</a>
		<div class="header">
		<ul class="nav white" id="top_menu">
		<!-- 顶部导航栏 -->
<!--      --><?php
//        $array = admin::admin_menu(0);
//        foreach($array as $_value) {
//        	if($_value['id']==2254) {
//        		echo '<li id="_M'.$_value['id'].'" class="on top_menu"><a href="javascript:_M('.$_value['id'].',\'?m='.$_value['m'].'&c='.$_value['c'].'&a='.$_value['a'].'\')" hidefocus="true" style="outline:none;">'.L($_value['name']).'</a></li>';
//
//        	} else {
//        		echo '<li id="_M'.$_value['id'].'" class="top_menu"><a href="javascript:_M('.$_value['id'].',\'?m='.$_value['m'].'&c='.$_value['c'].'&a='.$_value['a'].'\')"  hidefocus="true" style="outline:none;">'.L($_value['name']).'</a></li>';
//        	}
//        }
//        ?>
         
           <li class="tab_web"><a href="javascript:;"><span><?php echo $currentsite['name']?></span></a></li>
        
        </ul>
		</div>
		<!-- END RESPONSIVE MENU TOGGLER -->
		<!-- BEGIN TOP NAVIGATION MENU -->
		<div class="top-menu">
			<ul class="nav navbar-nav pull-right">
				<li class="dropdown dropdown-user">
					<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true">
					<img alt="" class="img-circle" src="<?php echo $imageurl;?>"/>
					<span class="username username-hide-on-mobile">
					<?php echo $admin_username?></span>
					<i class="fa fa-angle-down"></i>
					</a>
					<ul class="dropdown-menu dropdown-menu-default">
						<li>
							<a href="?m=admin&c=admin_manage&a=public_edit_info&menuid=972&pc_hash=<?php echo $_SESSION['pc_hash'];?>" target="right">
							<i class="icon-user"></i><?php echo L('MyProfile')?></a>
						</li>
						<li>
							<a href="?m=admin&c=admin_manage&a=public_edit_pwd&menuid=971&pc_hash=<?php echo $_SESSION['pc_hash'];?>" target="right">
							<i class="icon-calendar"></i><?php echo L('Changepassword')?></a>
						</li>
						<li>
							<a href="?m=admin&c=index&a=public_logout">
							<i class="icon-calendar"></i><?php echo L('hello'),$admin_username?>[<?php echo L('exit')?>]</a>
						</li>
					</ul>
				</li>
				<!-- END USER LOGIN DROPDOWN -->
				<!-- BEGIN QUICK SIDEBAR TOGGLER -->
				<!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte 
				<li class="dropdown dropdown-quick-sidebar-toggler">
					<a href="javascript:;" class="dropdown-toggle">
					<i class="icon-logout"></i>
					</a>
				</li>
				 END QUICK SIDEBAR TOGGLER -->
			</ul>
		</div>
		<!-- END TOP NAVIGATION MENU -->
	</div>
	<!-- END HEADER INNER -->
</div>
<!-- END HEADER -->
<div class="clearfix">
</div>
<!-- BEGIN CONTAINER -->
<div class="page-container">
	<div class="row" >
	<!-- BEGIN SIDEBAR -->
	<div class="page-sidebar-wrapper  col-xs-3 " style="background-color: #f0f3fd;height:100%">
		<!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->
		<!-- DOC: Change data-auto-speed="200" to adjust the sub menu slide up/down speed -->

		<div class="page-sidebar  " id="leftMain" style="width:98%">
			
		</div>
		<div class="page-sidebar  " id="leftMain" style="background-color: #f0f3fd;">
			
		</div>
		
	</div>

	<!-- END SIDEBAR -->
<!-- BEGIN CONTENT -->
	<div class="col-xs-9  margin" >
		<div class="page-content">
		<!-- BEGIN STYLE CUSTOMIZER -->
			<div class="theme-panel hidden-xs hidden-sm">
				<!-- <div class="toggler">
				</div>
 -->				<div class="toggler-close">
				</div>
			</div>
			<!-- END STYLE CUaui_outerSTOMIZER -->
			<!-- BEGIN PAGE HEADER-->
			    <div class="col-auto mr8">
    <div class="crumbs">
    <div class="shortcut cu-span">    
	  <?php echo runhook('admin_top_left_menu')?></div>
<!--      --><?php //echo L('current_position')?><!--<span id="current_pos"></span>-->
    </div>

